import request from '@/utils/request'

// 获取轮播图
export function getBannerList() {
  return request({
    url: '/officialWebsite/banna/list',
    method: 'get'
  })
}

// 获取轮播图
export function getNewDetail(params) {
  return request({
    url: '/officialWebsite/news/'+ params,
    method: 'get'
  })
}

// 获取轮播图
export function getAlbumDetail(params) {
  return request({
    url: '/officialWebsite/photoalbum/'+ params,
    method: 'get'
  })
}

// 获取新闻
export function getFirstNew() {
  return request({
    url: '/officialWebsite/companyintroduce/getCompanyIntroduce',
    method: 'get'
  })
}

// 图片列表
export function getPiclist() {
  return request({
    url: '/officialWebsite/piclist/list',
    method: 'get'
  })
}
// 图片列表
export function getAlbumlist() {
  return request({
    url: '/officialWebsite/photoalbum/list',
    method: 'get'
  })
}
// 图片列表
export function getVideoList() {
  return request({
    url: '/officialWebsite/wonderfulvideo/list',
    method: 'get'
  })
}


// 获取3品牌活动
export function getTherePic() {
  return request({
    url: '/officialWebsite/gwbrandactive/list?rowsPerPage=3',
    method: 'get'
  })
}

// 获取3条图片
export function getFourPic() {
  return request({
    url: '/officialWebsite/piclist/list?rowsPerPage=4',
    method: 'get'
  })
}
export function getFivePic() {
  return request({
    url: '/officialWebsite/piclist/list?rowsPerPage=5',
    method: 'get'
  })
}

// 获取5条新闻新闻
export function getFivetNew() {
  return request({
    url: '/officialWebsite/news/list?rowsPerPage=5',
    method: 'get'
  })
}

// 获取5条新闻新闻
export function getEightNew() {
  return request({
    url: '/officialWebsite/news/list?rowsPerPage=8',
    method: 'get'
  })
}

// 获取5条新闻新闻
export function getAllNew(e) {
  return request({
    url: '/officialWebsite/news/list',
    method: 'get'
  })
}

// 获取5条新闻新闻
export function getFilterNew(e) {
  return request({
    url: '/officialWebsite/news/list?type=' + e,
    method: 'get'
  })
}

// 获取视频
export function getIndexVideo() {
  return request({
    url: '/officialWebsite/wonderfulvideo/list?rowsPerPage=3',
    method: 'get'
  })
}

// 友情链接
export function friendLink() {
  return request({
    url: '/officialWebsite/gwfriendlink/list',
    method: 'get'
  })
}

// 友情链接
export function aboutLink() {
  return request({
    url: '/officialWebsite/linkabout/list',
    method: 'get'
  })
}


// app
export function appAccount() {
  return request({
    url: '/officialWebsite/appaccount/list',
    method: 'get'
  })
}

// 合作伙伴
export function partner() {
  return request({
    url: '/officialWebsite/gwcooperativepartner/list',
    method: 'get'
  })
}

// 基地展示
export function baseShow() {
  return request({
    url: '/officialWebsite/gwbasetrainpic/list',
    method: 'get'
  })
}

// 操舞标题
export function titleDis() {
  return request({
    url: '/officialWebsite/gwtitlediscription/data',
    method: 'get'
  })
}



// 关于我们
export function gwAboutUs() {
  return request({
    url: '/officialWebsite/gwabouus/list',
    method: 'get'
  })
}